package basic.guava;

import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Copyright (C) 2017, Xiaomi Inc. All rights reserved.
 * Created by vint @ 2018/1/24.
 * in coderefer
 */
public class BasicDemo {
	public static void main(String[] args) {
		Map<String, Map<String, Integer>> maps1 = Maps.newHashMap();
		Map<String, Map<String, Integer>> maps2 = new HashMap<String, Map<String, Integer>>();

		Map<String, String> map3 = ImmutableMap.of("one", "two");

		List<List<Map<String, String>>> lists1 = new ArrayList<List<Map<String, String>>>();
		List<List<Map<String, String>>> lists2 = Lists.newArrayList();
		List<String> lists3 = Lists.newArrayList("one", "two");

		Set<String> sets1 = Sets.newHashSet();
		Set<String> sets2 = Sets.newHashSet("test1", "test2");


	}
}
